Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Support for submitting bundle transactions #220

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

vihu
Copy link
Collaborator

@vihu vihu commented Nov 22, 2019

I think the way this would work (atleast initially) would be to allow the app to post a pending bundle transaction.

  • API receives POST bundle txn
  • API creates a pending bundle
  • API creates subsequent pending txns within the bundle
  • Depending on the callback for the bundle, the api would mark all the pending as cleared or errored.

A bundle txn as far as the blockchain-core is concerned is an all-or-nothing txn. Either all the txns in the bundle are valid or none are and the whole bundle gets dropped.

I dont think we necessarily need to add just a bundle specific transaction.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants